package com.ruoyi.user.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 用户账号绑定管理对象 t_user_account_manage
 * 
 * @author DEREK
 * @date 2024-03-11
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_account_manage")
public class UserAccountManage
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 对应的账号ID */
    @Excel(name = "对应的账号ID")
    private Long accountId;

    /** 是否有未读消息 0=否 1=是 */
    @Excel(name = "是否有未读消息 0=否 1=是")
    private Integer isUnreadMsg;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extend;

    private String remark;
    private Date createTime;
    private Date updateTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("accountId", getAccountId())
            .append("isUnreadMsg", getIsUnreadMsg())
            .append("remark", getRemark())
            .append("extend", getExtend())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
